package com.baidu.bas.annotation.config;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Repeatable;
import java.lang.annotation.Target;
/**
 * @author liuzhenchuan@foxmail.com
 * @date 2021/1/5
 */
@Repeatable(Comments.class)
@Target({ElementType.METHOD, ElementType.TYPE, ElementType.FIELD, ElementType.TYPE_PARAMETER, ElementType.PARAMETER})
@Documented
public @interface Comment {

    String value();

    Language language() default Language.ZH;

    enum Language {
        ZH, EN
    }

}
